/*
 * FPU class handles the Floating Point operations.  FPU is an acronym for
 * floating-point unit and executes arithmetic operations related to real
 * numbers.
 * 
 * The FPU is composed of the First Floating Point Operand Register, Second
 * Floating Point Operand Register and the Floating Point Result Register.
 * The FPU supports add and subtract operations for real numbers.
 * */

package cpu.components;

import cpu.datastores.Register16;
import cpu.interfaces.EventListener;

public class FPU {
	// First Floating Point Operand Register
	public Register16 FPO0;
	
	// Second Floating Point Operand Register
	public Register16 FPO1;
	
	// Floating Point Result Buffer Register
	public Register16 FPR;
	
	private cpu.components.CPU cpu;
	
	public FPU( cpu.components.CPU cpu ) {
		this.cpu = cpu;
		
		FPO0 = new Register16( );
		FPO1 = new Register16( );
		FPR = new Register16( );
	}
	
	public void add( ) {
		
		
	}
	public void subtract( ) {
		
		
	}
}
